Fix corruption with multiple emacsclient -t instances.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 11 Sep 2013 08:24:05 +0000 (01:24 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 11 Sep 2013 08:24:05 +0000 (01:24 -0700)
commit46c06670d5354a179f1db8ea87807eb7766a0aef
tree8ebd50056f88b3b2a347e8e1d4571ff2cc85b97f
parentacf337586d16e6a0eb29fcb798310c8cc2299c95
Fix corruption with multiple emacsclient -t instances.

This bug was introduced by my 2013-08-26 patch, which incorrectly
assumed that the terminfo implementation doesn't use termcap buffers.
* term.c (init_tty) [TERMINFO]: Remove optimization, as
these buffers apparently are used after all.
* termchar.h (TERMCAP_BUFFER_SIZE) [TERMINFO]: Define here too.
(struct tty_display_info): Define members termcap_term_buffer and
termcap_strings_buffer even if TERMINFO.
src/ChangeLog
src/term.c
src/termchar.h